Indexing dif/2

نویسندگان

  • Ulrich Neumerkel
  • Stefan Kral
چکیده

Many Prolog programs are unnecessarily impure because of inadequate means to express syntactic inequality. While the frequently provided built-in dif/2 is able to correctly describe expected answers, its direct use in programs often leads to overly complex and inefficient definitions — mainly due to the lack of adequate indexing mechanisms. We propose to overcome these problems by using a new predicate that subsumes both equality and inequality via reification. Code complexity is reduced with a monotonic, higher-order if-then-else construct based on call/N. For comparable correct uses of impure definitions, our approach is as determinate and similarly efficient as its impure counterparts.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Beam Sensor

In structured environments found in manufacturing , a few precise measurements are often suucient to recognize and localize modeled objects. Modeled objects can be recognized and localized by enumerating interpretations of the sensed data in terms of model features, and then validating each hypothesized interpretation by computing the optimal pose estimate and associated error. The task of enum...

متن کامل

Evidence that differentiation-inducing factor-1 controls chemotaxis and cell differentiation, at least in part, via mitochondria in D. discoideum

Differentiation-inducing factor-1 [1-(3,5-dichloro-2,6-dihydroxy-4-methoxyphenyl)hexan-1-one (DIF-1)] is an important regulator of cell differentiation and chemotaxis in the development of the cellular slime mold Dictyostelium discoideum However, the entire signaling pathways downstream of DIF-1 remain to be elucidated. To characterize DIF-1 and its potential receptor(s), we synthesized two flu...

متن کامل

Indexing astronomical database tables using HTM and HEALPix

In various astronomical projects it is crucial to have coordinates indexed tables. All sky optical and IR catalogues have up to 1 billion objects that will increase with forthcoming projects. Also partial sky surveys at various wavelengths can collect information (not just source lists) which can be saved in coordinate ordered tables. Selecting a sub-set of these entries or cross-matching them ...

متن کامل

Digoxin Toxicity and Use of Digoxin Immune Fab: Insights From a National Hospital Database.

OBJECTIVES This study was developed to determine contemporary management of digoxin toxicity and clinical outcomes. BACKGROUND Although the use of digoxin in heart failure management has declined, toxicity remains a prevalent complication. METHODS The Premier Perspective Comparative Hospital Database (Premier Inc., Charlotte, North Carolina) was used to retrospectively identify patients dia...

متن کامل

Dictyostelium differentiation-inducing factor-1 binds to mitochondrial malate dehydrogenase and inhibits its activity.

We have reported that the differentiation-inducing factors (DIFs) DIF-1 and DIF-3, morphogens secreted from Dictyostelium discoideum, inhibit proliferation of several cancer cells via suppression of the Wnt/beta-catenin signaling pathway. However, the target molecules of DIFs involved in the anti-proliferative effects are still unknown. In the present study, DIF-1-tethered resins were synthesiz...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1607.01590  شماره 

صفحات  -

تاریخ انتشار 2016